﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommerceOne.Domains.Entities;
using System.ComponentModel.DataAnnotations;

namespace CommerceOne.Domains.EntityExtentions
{
    [NotMapped]
    public class CategoryEx : Category
    {
        public CategoryEx()
        {
            
        }

        public CategoryEx(Category category)
        {
            this.Id = category.Id;
            this.Name = category.Name;
            this.ParentId = category.ParentId;
            this.Description = category.Description;
            this.Products = category.Products;
        }
    }
}
